package czopyk.model.structure;

public interface Cache {

	public double getHitRate();
	public void setHitRate(double hitRate);
	public boolean skip();
/*
	public void queue(Request r) {
		// request r jest calkowity
		if (blockRequest(r)) {
			return;
		}
		Set<Request> ers = Locator.getCostMapper().getSupportedRequests(r,
				centerClass);
		l.debug(name() + ": " + r + " queued; supported requests: "
				+ ers.size());

		if (ers.isEmpty()) {
			requestFinishInternal(r);
			// przeslij na wyjscie
		} else {
			for (Request er : ers) {
				queueInternal(er, this.hitRate > re.nextDouble());
			}
		}
	}
*/
}
